package com.cgtong.android.mvp.contract;

import com.cgtong.android.bean.UserInfoBean;
import com.zhouyou.http.callback.SimpleCallBack;

public interface GetUserContract {
    interface View {
        void getUserInfo(UserInfoBean.UserInfoBeanObj account);
        void setUserInfoSuc(String msg);
        void setUserInfoFail(String msg);
    }

    interface Model {
        void getUserInfo(SimpleCallBack<UserInfoBean.UserInfoBeanObj> callBack);
        void setUserInfo(String name, String nickname, String idcard,
                         String avasterid, String phone, String sex, String location, SimpleCallBack<String> callBack);
    }

    interface Presenter {
        void getUserInfo();
        void setUserInfo(String name, String nickname, String idcard, String avasterid, String phone, String sex, String location);
    }
}